package com.service;

import com.domain.Permission;
import com.qo.PageResult;
import com.qo.QueryObject;

import java.util.List;

/**
 * @author shkstart
 * @create 2022/3/11-11:28
 */
public interface PermissionService {
    void delete(Long id);
    void save(Permission permission);
    Permission get(Long id);
    List<Permission> listAll();
    void update(Permission permission);
    PageResult<Permission> query(QueryObject queryObject);

    void load();

    List<String> selectByEmpId(Long id);
}
